package com.infolab.aims.domain.asset;

import java.io.Serializable;

import javax.persistence.Embeddable;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;

@Embeddable
public class AssetBalancePK implements Serializable {
	
	@ManyToOne
	@JoinColumn(name="assetModelId")
	private AssetModel assetModel;
	
	private String assetBalanceMonth;
	private String assetBalanceYear;
	
	public AssetBalancePK(){}
	
	public AssetBalancePK(String assetBalanceMonth, String assetBalanceYear){
		this.assetBalanceMonth = assetBalanceMonth;
		this.assetBalanceYear = assetBalanceYear;
	}
	
	public AssetModel getAssetModel() {
		return assetModel;
	}
	public void setAssetModel(AssetModel assetModel) {
		this.assetModel = assetModel;
	}
	public String getAssetBalanceMonth() {
		return assetBalanceMonth;
	}
	public void setAssetBalanceMonth(String assetBalanceMonth) {
		this.assetBalanceMonth = assetBalanceMonth;
	}
	public String getAssetBalanceYear() {
		return assetBalanceYear;
	}
	public void setAssetBalanceYear(String assetBalanceYear) {
		this.assetBalanceYear = assetBalanceYear;
	}
	
	
}
